]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: Close overview and panel when activated
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 11 Mar 2015 00:04:38 +0000 (01:04 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 11 Mar 2015 00:17:57 +0000 (01:17 +0100)
There's a strong expectation that delegating or presenting a channel
will result in a window being activated, so close both overview and
calendar as we do elsewhere.

js/ui/components/telepathyClient.js

index e6ade40220c4768a6915374e362d137447c56db1..44048d5b81b661972de4aa8931e0fe1a32f5f8e3 100644 (file)
@@ -356,6 +356,9 @@ const ChatSource = new Lang.Class({
     },
 
     open: function() {
+        Main.overview.hide();
+        Main.panel.closeCalendar();
+
         if (this._client.is_handling_channel(this._channel)) {
             // We are handling the channel, try to pass it to Empathy or Polari
             // (depending on the channel type)